package com.base.kongjian.entity;

/**
 * 作品贡献记录
 * @author chendonglin
 *
 */
public class WorksContributeRec
{
	
	private long id;				//pk
	
	private long memberId;			//会员ID 也就是发表者的ID
	private long workId;			//作品种类1-微博,2-视频,3-音乐,4-帖子,5-照片	
	
	private int workKind;			//比如微博ID,音乐ID,视频ID..
	
	private int type;				//1-转发 ,2-收藏,3-点赞,4评论
	
	private int contributeVal;		//贡献值

	public long getId()
	{
		return id;
	}

	public void setId(long id)
	{
		this.id = id;
	}

	public long getMemberId()
	{
		return memberId;
	}

	public void setMemberId(long memberId)
	{
		this.memberId = memberId;
	}

	public long getWorkId()
	{
		return workId;
	}

	public void setWorkId(long workId)
	{
		this.workId = workId;
	}

	public int getWorkKind()
	{
		return workKind;
	}

	public void setWorkKind(int workKind)
	{
		this.workKind = workKind;
	}

	public int getType()
	{
		return type;
	}

	public void setType(int type)
	{
		this.type = type;
	}

	public int getContributeVal()
	{
		return contributeVal;
	}

	public void setContributeVal(int contributeVal)
	{
		this.contributeVal = contributeVal;
	}

	public WorksContributeRec(long id, long memberId, long workId,
			int workKind, int type, int contributeVal)
	{
		super ();
		this.id = id;
		this.memberId = memberId;
		this.workId = workId;
		this.workKind = workKind;
		this.type = type;
		this.contributeVal = contributeVal;
	}

	public WorksContributeRec()
	{
		super ();
	}
					
}
